package org.springblade.modules.admin.enums.erp.tables;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.springblade.modules.admin.enums.erp.ERPTableEnum;

/**
 * @author: Sharry
 * @createTime: 2025-01-24 15:18
 * @version: Version-1.0
 */
@Getter
@AllArgsConstructor
public enum PartTaskEnum {

	/**
	 * 配件进度
	 * 2200000500249410
	 * plan_status
	 */
	PLAN_STATUS(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249410", "配件进度", "text"),

	/**
	 * 审核状态
	 * 2200000500249411
	 * process_status
	 */
	PROCESS_STATUS(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249411", "审核状态", "text"),

	/**
	 * 配件任务ID
	 * 2200000500249394
	 * plan_id
	 */
	PLAN_ID(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249394", "配件任务ID", "text"),

	/**
	 * 紧急程度
	 * 2200000500249395
	 * emergency
	 */
	EMERGENCY(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249395", "紧急程度", "text"),

	/**
	 * 任务类型
	 * 2200000500249403
	 * plan_type
	 */
	PLAN_TYPE(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249403", "任务类型", "text"),

	/**
	 * 项目名称
	 * 2200000500249396
	 * building_name
	 */
	BUILDING_NAME(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249396", "项目名称", "text"),

	/**
	 * 电梯位置
	 * 2200000500249397
	 * elevator_address
	 */
	ELEVATOR_ADDRESS(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249397", "电梯位置", "text"),

	/**
	 * 电梯状态
	 * 2200000500249398
	 * elevator_status
	 */
	ELEVATOR_STATUS(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249398", "电梯状态", "text"),

	/**
	 * 配件名称
	 * 2200000500249399
	 * part_name
	 */
	PART_NAME(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249399", "配件名称", "text"),

	/**
	 * 规格型号
	 * 2200000500249400
	 * parts_model
	 */
	PARTS_MODEL(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249400", "规格型号", "text"),

	/**
	 * 数量
	 * 2200000500249401
	 * parts_num
	 */
	PARTS_NUM(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249401", "数量", "text"),

	/**
	 * 关联任务ID
	 * 2200000500249402
	 * relation_plan_id
	 */
	RELATION_PLAN_ID(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249402", "关联任务ID", "text"),

	/**
	 * 关联任务计划完成时间
	 * 2200000500249404
	 * relation_plan_finish_time
	 */
	RELATION_PLAN_FINISH_TIME(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249404", "关联任务计划完成时间", "date"),

	/**
	 * 申请人
	 * 2200000500249405
	 * apply_user
	 */
	APPLY_USER(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249405", "申请人", "text"),

	/**
	 * 执行人
	 * 2200000500249406
	 * plan_executors
	 */
	PLAN_EXECUTORS(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249406", "执行人", "text"),

	/**
	 * 实际执行人
	 * 2200000500249407
	 * executors
	 */
	EXECUTORS(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249407", "实际执行人", "text"),

	/**
	 * 申请时间
	 * 2200000500249408
	 * apply_time
	 */
	APPLY_TIME(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000500249408", "申请时间", "date"),

	/**
	 * 详情链接
	 * 2200000502016719
	 * detail_link
	 */
	DETAIL_LINK(ERPTableEnum.PART_TASK_LIST.getTableId(), "2200000502016719", "详情链接", "text");

	/**
	 * 对应 ERP表格ID
	 */
	final String tableId;

	/**
	 * 字段 ID
	 */
	final String fieldId;

	/**
	 * 字段名称
	 */
	final String name;

	/**
	 * 数据类型
	 */
	final String dataType;
}
